package com.woniuxy.carlife.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author fx
 * @ClassName:CouponCategory
 * @Description: 作为优惠券方法参数的一个参数vo类
 * @date 2021/4/6 22:39
 **/

@Data
@ApiModel(value = "优惠券方法的param类")
public class CouponCategoryParam {

    //优惠券id
    @NotNull(message="优惠券id不能为空")
    @ApiModelProperty(value = "优惠券id",dataType = "Integer")
    private Integer id;

    //优惠券类别
    @NotNull(message="优惠券类别不能为空")
    @ApiModelProperty(value = "优惠券类别",dataType = "String")
    private String couponCategory;
}
